<?php
/*
	Advansed MaNGOS Statistic(AMS)
	-------------------------------------------
	Author: DeusModus
	getmangos.ru
	Version: 1.1
*/


// define("CONSTANT", "VALUE"); #Description
// ! Если нужно присвоить константе значение "Пусто", пишем NULL

# MySQL Configuration ---------------------------
define("MYSQL_HOST", localhost);  #Адрес Сервера MySQL
define("MYSQL_PORT", 3306); 	  #Порт MySQL
define("MYSQL_USERNAME", root);   #Пользователь MySQL
define("MYSQL_PASSWORD", NULL);	  #Пароль Пользователя MySQL
define("MYSQL_DATABASE", sample); #База Данных AMS
define("MYSQL_DATABASE_TABLE", uptime2); #База Данных AMS

# Шаблоны и внешний вид---------------------------
define("AMS_USE_TEMPLATE", true);      #Использовать ли шаблон. (1 или true)
define("AMS_default_TOP", "template"); #Путь до папки с шаблонами
define("AMS_default_NAME", "default"); #Префикс шаблона
define("AMS_USE_MENU", true);		   #Использовать дублирующее Ajax меню

# Сохранение изображений. По-умолчанию вида: [2009-Sep-Fri_index.png] ---------------------------
define("IMAGE_SAVE", false);  							 #Сохранять или нет изображения
define("IMAGE_PATH", "/home/mangos/www/ams/generated/"); #Путь до папки куда будет сохранятся изображение
define("IMAGE_TYPE", png);  							 #Формат изображения. Может быть png, jpg/jpeg, gif, wbmp/wmp или bmp
define("IMAGE_PAGE_AS_NAME", true);  					 #Имя изображения совпадает с именем страницы.
define("IMAGE_CUSTOM_NAME", "yourname");  				 #Если предыдущий параметр false, импользуется этот.
define("IMAGE_SEPARATOR", _);  					         #Разделитель даты и имя файла
define("IMAGE_DATE_TYPE", "Y-m-d"); 					 #Смотри http://www.yacudzer.ru/page11.php для описания


#Titles ---------------------------
define("MYSQL_ERROR", "Could not connect: ");  # The text for the title.
define("TOP_TITLE", "Статистика"); 	       # The text for the title.
define("X_AXIS_TITLE", "Realm"); 			   # The text for the X Axis.
define("Y_AXIS_TITLE", "Максимальный Онлайн"); # The text for the Y Axis.
define("HTML_Image_Map", "Max Online:");	   # The text for the Y Axis.

# XY CHART Configuration ---------------------------				
define("X_CHART_PIXELS", 994); # Длина главной области
define("Y_CHART_PIXELS", 654); # Ширина главной области

#setPlotArea Configuration ---------------------------
define("X_PLOT_AREA_PIXELS", 60);	    # The x coordinate of the left of the plot area.
define("Y_PLOT_AREA_PIXELS", 40); 	    # The y coordinate of the top of the plot area.
define("WIDTH_PLOT_AREA_PIXELS", 850);  #The width of the plot area in pixels.
define("HEIGHT_PLOT_AREA_PIXELS", 540); #The height of the plot area in pixels.
	#BGcolor configuration (linearGradientColor)
	define("START_X_LINEAR_GRADIENT_COLOR", 900);			 #The x coordinate of the starting point of the reference gradient line segment.
	define("END_X_LINEAR_GRADIENT_COLOR", 800);			     #The x coordinate of the ending point of the reference gradient line segment.
	define("START_Y_LINEAR_GRADIENT_COLOR", 800); 			 #The y coordinate of the starting point of the reference gradient line segment.
	define("END_Y_LINEAR_GRADIENT_COLOR", 100); 			 #The y coordinate of the ending point of the reference gradient line segment.
	define("START_COLOR_LINEAR_GRADIENT_COLOR", 0x4466CC);   #The color at the starting point of the reference gradient line segment.
	define("END_COLOR_LINEAR_GRADIENT_COLOR", 0x6699FF);	 #The color at the ending point of the reference gradient line segment.
	define("PERIODIC_LINEAR_GRADIENT_COLOR", FALSE); 		 #Specifies whether the gradient will repeat itself periodically.
define("ALT_BGCOLOR_PLOT_AREA", -1); # -1=false. If there is a second background color, the two background colors will be used alternatively as horizontal bands on the background grid.
define("EDGE_COLOR_PLOT_AREA", 0x0000CC);         #The border color of the plot area.
define("H_GRID_COLOR_PLOT_AREA", 0xffffff); 	  #The horizontal grid color.
define("V_GRID_COLOR_PLOT_AREA", Transparent);    #The vertical grid color. ! 

#Layer Configuration ---------------------------
define("LAYER_BORDER_COLOR", 0); 		   #The horizontal grid color.
define("LAYER_GLARE_EFFECT", NormalGlare); #A complex shading effect that emulates tinted glass or semi-transparent plastic material. NormalGlare, ReducedGlare or NoGlare.
define("LAYER_GLARE_DIRECTION", Left); 	   #The direction of the glare, which must be one of the predefined constants Top, Right, Bottom, Left.
define("LAYER_GLARE_RAISED_EFFECT", 5);    #With glass shading effect, the object will appear to have some 3D depth. 
define("LAYER_TICK_DENSITY_Y", 10);	       #Sets the density of the axis ticks.
define("LAYER_LINE_WIDTH", 2);	       	   #Detail graph line width.

#Fonts and etc ---------------------------
/*
arial.ttf=Arial | arialbd.ttf=Arial Bold | ariali.ttf=Arial Italic | arialbi.ttf=Arial Bold Italic 
times.ttf=Times New Roman | timesbd.ttf=Times New Roman Bold | timesi.ttf=Times New Roman Italic | timesbi.ttf=Times New Roman Bold Italic 
cour.ttf=Courier New | courbd.ttf=Courier New Bold | couri.ttf=Courier New Italic | courbi.ttf=Courier New Bold Italic 
*/
define("TOP_FONT", "timesbi.ttf"); 		    #Comments upper.
define("TOP_FONT_SIZE", 18);			    #The font size in points for the title text.
define("TOP_FONT_COLOR", 0x0000cc);	        #The color of the title text.
define("TOP_FONT_BGCOLOR", Transparent);    #The background color of the title box.
define("TOP_FONT_EDGE_COLOR", Transparent); #The border color of the title box.
define("X_AXIS_TITLE_FONT_SIZE", 12);		#The font size in points for the X Axis text.
define("X_AXIS_TITLE_FONT", "arialbd.ttf");  #The font for the Y Axis text.
define("Y_AXIS_TITLE_FONT_SIZE", 12);		 #The font size in points for the Y Axis text.
define("Y_AXIS_TITLE_FONT", "arialbd.ttf");  #The font for the Y Axis text.
define("X_AXIS_LABLE_FONT_SIZE", 8);		 #The font size in points for the X Axis label.
define("X_AXIS_LABLE_FONT", "arialbd.ttf");  #The font for the X Axis label.
define("Y_AXIS_LABLE_FONT_SIZE", 8);		 #The font size in points for the Y Axis label.
define("Y_AXIS_LABLE_FONT", "arial.ttf");    #The font for the Y Axis label.
?>